<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="description" content="用户注册页面">
    <title>用户注册</title>
    <link rel="stylesheet" href="css/style.css">
</head>
<body>
    <main>
        <div id="login-box" role="form" aria-labelledby="register-title">
            <form action="reg.php" method="POST">
                <h1 id="register-title">注册</h1>
                
                <div class="form-group">
                    <label for="user" class="visually-hidden">用户名</label>
                    <input type="text" 
                           id="user" 
                           name="user" 
                           class="input" 
                           placeholder="用户名" 
                           required
                           autocomplete="username">
                </div>
                
                <div class="form-group">
                    <label for="pass" class="visually-hidden">密码</label>
                    <input type="password" 
                           id="pass" 
                           name="pass" 
                           class="input" 
                           placeholder="密码" 
                           required
                           autocomplete="new-password">
                </div>
                
                <div class="form-actions">
                    <input type="submit" value="注册" aria-label="注册">
                </div>
            </form>
            
            <div class="form-links">
                <a href="index.html" aria-label="前往登录页面">登录</a>
            </div>
        </div>
    </main>
</body>
</html>
